package org.spring.springboot.dao;

import org.apache.ibatis.annotations.Param;
import org.spring.springboot.domain.Symbol;

import java.util.List;
public interface SymbolDao {

    List<Symbol> selectAll(@Param("userid") String userid);
    Symbol selectOne(@Param("uuid") String uuid);
    void save(Symbol symbol);

    void updateData(@Param("uuid") String uuid, @Param("data") String Data,@Param("iconURL") String iconURL);

    void updateProfile(@Param("uuid") String uuid, @Param("name") String name,@Param("iconURL") String iconURL);

    void delete(@Param("uuid") String uuid);

    List<Symbol> getSymbolByClass(@Param("userid") String userid, @Param("category") String category);
    int getCount(@Param("userid") String userid, @Param("category") String category);


}
